#!/dis/sh
if {~ $#* [01]} {exit}
(f xs) = $*
cmd = cat
apply {cmd = $cmd '<{'^$f^' '^$1^'}' } $xs
echo $cmd | sh
